package chapter_5.bb;

public class Employee {
    String name;
    static final int count;
    static {
        count = 990;
        System.out.println("Employee静态代码块");
    }
    {
        System.out.println("Employee构造代码块");
    }
    public Employee(String name) {
        System.out.println("Employee构造方法");
        this.name = name;
    }

    public void work(){
        System.out.println("work");
    }
}
